# coding: utf-8
import web

class index:
    def GET(self):
        if web.ctx.session.user == None:
            raise web.seeother('/login')
        
        return web.ctx.session.user


class profile:
    def GET(self):
        pass
    

class order:
    def GET(self):
        pass
    

class transaction:
    def GET(self):
        pass